package  com.zerosky.crm.service;

import java.util.List;
import java.util.Map;

import com.zerosky.crm.po.ReturnRecord;
import com.zerosky.crm.util.PageInfo;

/**Returnrecord业务逻辑接口 
 * @author hugy;
 * @since 2017-06-08
 */
public interface ReturnRecordService {

	/**Returnrecord列表接口
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public List<ReturnRecord> getReturnRecordList(Map map);

	public PageInfo<ReturnRecord> getPageInfoList(Map map,PageInfo<ReturnRecord> page);
	/**通过主键查找Returnrecord实体接口
	 * @param id Returnrecord主键
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public ReturnRecord getReturnRecordById(String id);

	/**保存Returnrecord接口 
	 * @param Returnrecord 实体对象, operation 操作类型
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public void saveReturnRecord(ReturnRecord returnrecord, String operation) throws Exception;
  
	/**批量删除Returnrecord接口
	 * @param idArray Returnrecord主键数组
	 * @author hugy;
	 * @since 2017-06-08
	 */
	public void deleteReturnRecordById(String id) throws Exception;
}
